<template>
    <div class="search">
        <el-button type="success" icon="el-icon-plus" size="mini" @click="addClassification">新增</el-button>
        <div class="search-box">
            <el-input v-model="input" placeholder="查找..." size="mini">
                <el-button type="success" icon="el-icon-search" slot="append"></el-button>
            </el-input>
        </div>
    </div>
</template>

<script>
export default {
    name: "search",
    data() {
        return {
            input:""

        }

    },
    methods: {
        addClassification() {

            this.$router.push("/stepEdit")
        }

    }

}
</script>

<style scoped>
.search {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.search-box {
    width: 151px;
}
</style>